Access Modifiers in Java

Access Modifiers in Java

ACCESS MODIFIERS……. Access modifier is a reserve key word  or we can say visibility controls which is used to restrict access.We can use these access modifier  to determine whether  a fields or methods in a class ,can be called or used by another class or sub class or not.That means these access modifiers can prevent … Read more

What is Java

What is Java

JAVA  programming language was developed by Sun Microsystems(an American technology company) in 1991(developed by the team headed by James Gosling),. This language was originally called,  “Green talk”, After that, it was called “Oak”but was renamed(OAK  was already a trademark) “Java” in 1995. JAVA is a computer language to specify textual representation by writing source code, … Read more

How To Take Input From User In Java

How To Take Input From User In Java

In this tutorial, I am going to show you how to take input from users in java using two different ways. You can follow any method (Scanner or BufferedReader) according to your convenience. To understand how we get input from users in java we first must know of the following two things : System. out – … Read more

 DATA TYPES IN JAVA

DATA TYPES IN JAVA

Before we talk about data type first we know about variables because data type is used with variables. Without variables the meaning of the data type is nothing, it’s incomplete. Data types are used when you create variables in the program. Each variable is assigned a data type. Variable is the name that is used … Read more