Posts

OOPs Concepts

Image
  (5) OOPS CONCEPTS :-   Object-oriented programming – As the name suggests uses  objects  in programming. It aims to implement real-world entities like inheritance, hiding, polymorphism, etc in programming. The main  aim of OOP  is to  bind  together the  data  and the  functions  that operate on them so that  no other part of the code can access this data  except that function.

OOPs Concepts v.0.2

Image
https://www.youtube.com/watch?v=DaAJIMakWKU&list=PLd3UqWTnYXOkwluXExifmJWKkvGa1ywWp (1) JAVA Source File Structure.                                      24/08/2022 A java program can contain at most  1 public  class with any number of non-public classes . A java program must be save as  public class name . example as Program - 1.2. Since there is no public class in  Program - 1  So, we can give  any  name to our java program. For every non-public classes there will be same number of .class file generated. PROGRAM - 1.1                                                                         PROGRAM - 1.2 class A { }                ...