Skip to main content

Posts

Showing posts from November, 2022

Setter Getter Vs Constructor

Firstly Understand these two examples , then read point below it : Example 1 : Here we are Using Setter Methods to initialize class level variable    Example 2: Here we are using Parameterized Constructor to create object and passing values as argument to constructor , the values which we will pass while creating object , those values will get assigned to particular object properties/variables.   Constructor is used to create , initialize object. When we use parameterized constructor to pass parameter it only call once. Means you can only pass parameter once. if you call it more then 1 time each time a new object created in memory. While getter and setter can be called according to your use many time to set or get values. In constructor , you can pass variables values as parameters then at object creation time those value will be assigned to instance variables. Where as in setter method : once the object is created then you can use it for setting up some value to it. It a...

Java Program To Filter List Data Using Lambda Expression

Identifier In Java

Identifier In Java :  -used for identification purpose. -name in java program is called identifier. - It can be class name, Method name ,variable name. Example : class CollegeManagement{                public static void main(String[] args){                     String collegeName="RECOEM";                } } In above program , identifiers are : 1.name of the class -> CollegeManagement 2.name of method -> main 3.name of class -> String 4.name of array -> args 5.name of variable -> collegeName Rules for defining Identifier : -allowed characters in Java Idenfier : a to z A to Z 0 to 9 $ _   NOTE -identifier will never start with number. -reserved words we cant use as identifiers, but we can used as predefined class name or interface name as Identifier ,but it is not good practice. -Java identifiers are case - sensitiv...

Java Software Engineer RoadMap

How to Become a Software Engineer ? How To Start Career as a java programmer ? learn these things in a sequence and you can become a java software engineer in 6 month to 1 year : 1.Core Java 2.Jdbc,Servlet,Jsp 3.Spring ,Hibernate 4.Spring Boot Rest 5.Design Patterns 6.Algorithm and Microservices  

Why Java is not Pure Object Oriented Programming Language ?

In short, Java is not a pure object-oriented programming language .because it supports primitive data types. In a pure object-oriented language everything is an object and there are many things in Java that are not objects  for Example: primitive data types like char, short, int, long, float, double,  and different type of arithmetic, logical and bitwise operator like  -,+,  /, &&, ||,* etc. Java has been never considered 100% or pure object-oriented programming language. There are seven qualities of Pure Object Oriented Programming Language :  1. Encapsulation/Data Hiding 2. Inheritance 3. Polymorphism 4. Abstraction 5. All predefined types are objects 6. All operations are performed by sending messages to objects 7. All user-defined types are objects. Java don't have all these 7 qualities that's why its not Pure Object Oriented Programming Language.

How much Software Engineer Earn in India

  No limit of earning for free lancer software developer : In service based companies - If Software Engineer work for same MNC from beginning of career then sometimes financial growth is low,still they can reach in between 7 lacs to 15 lacs in India. If programmer switch job after every 2-3 year and work for at least 5 years then they can earn minimum in between 14 lacs to 25 lacs for the position of Senior Software Engineer.  Being from a normal college , completed my education with average percentage , then  As 2 year experienced guy - I was getting offers of 8 lacs, 10 lacs  As 5 years experienced guy the offers are like  Minimum 12 lacs ,14 lacs, 18 lacs from Indian MNCs.  Money is  no bar for right candidate, if you are able to crack interview and if you can  write effective code then you can earn more than 20 lacs in India itself. Be motivated, improve your technical skills and yes you can earn great amount from Job too...  People with ...