Posts

Showing posts with the label boilerplate

What is boilerplate code ? and How to write boilerplate ? (ch 01)

Chapter 01 :- Java Boilerplate Code In our java class, If some topics is not understandable then escape it, we learn all topic in detailed in OPP's. So now just focus on your practical programming work and improve your ideas and build logic it is very important to build logic. Now first we can define a class: Example:-     public class fileName{                      } So don't get confused with that we can learn this topic on detailed if you have any doubt then ask me in comment section. Syntax:- AccessModifier class fileName/className{ } Note:- In our java className or fileName must be same keep this in your mind. this is the syntax of our java boilerplate code, Public is AccessModifier and there are total four AccessModifier. 1)Public (Visible for all users) 80% to ...