Get me outta here!

Sunday, April 24, 2022

DlC Latch

...

Saturday, April 16, 2022

First and follow Rules (Compiler)

First Set1st Rule: if terminal, then insert terminal on set2nd Rule: if ∈, then insert ∈ on set3rd Rule: if non-terminal, then check the productions and insert the production elements.-----------------------------------------------------------------------Follow Set1st Rule: For start variable, input $2nd Rule: if A → αBβ, then follow(B)...

Monday, April 4, 2022

Some Gitbash Commands

Git Commandsgit configUsage: git config –global user.name “[name]”  Usage: git config –global user.email “[email address]”  This command sets the author name and email address respectively to be used with your commits.----------------------------------------Git Config Command - Git Commands - gitgit initUsage: git init [repository name] This command is used to start a new repository.GitInit Command - Git Commands - git======================================git...

Saturday, February 26, 2022

OOP Examples of Java (Object-oriented programming)

 Encapsulation class Hello{ private int a; public void setA(int a) { this.a=a; //a=b; //if you write int b then it is appicable } public int getA() { return a; } } public class Encapsulation //features : //1.Data Hiding //2.Flexibility //3.Reusability //4.Testing code { public static void main(String []args) { Hello m = new Hello(); m.setA(10); System.out.println("Number is : "+m.getA()); } } Inheritance import java.lang.*; //Inheritance //1.Super...