Java :- Object Oriented Programming

Java is a high-level programming language originally developed by Sun Microsystems and released in 1995.

Class:-
  • Is a Collection of Objects with Similar Attributes.
  • Is a Logical Construction.
  • Class is a User Defined Datatype.
  • No Physical Existence in Memory.
Object:- It is representation of class and has a Physical Existence in Memory.

Question:- Write a Java program to accept prn and name and Print them.
Answer:-   Simple Java Code

Complete Tutorial

Comments

Popular Posts