javac ScriptCompiler.java
java ScriptCompiler SampleCode.txt
The SampleCode.txt Test for:
- Multi-Interface with inheritance
- Multi-Classes with extends and Milti implements
- Constructors with this/super Call
- Access Modifiers
- Feilds
- Methods returning DataTypes Objects along with Arrays
- Method with Void return type and no return Keywords support
- Switch Cases
- Do while
- If Else-if and Else
- For Loop
- Private > chokidarAunty
- Protected > fomoBeti
- Public > blogBaji
- Class > channel
- Interface > kittyParty
- Extends > ammaOf
- Implements > kitty
- This > yeh
- Super > maharani
- New > nayi
- If > agar
- Else > magar
- ElseIf > agarMagar
- Switch > dekhoBaji
- Case > yaTo
- Default > warna
- For > apHoAo
- Do - While > Ao - Ghumo
- Break > rukBehn
- Continue > chaloYar
- Return > yeLo
- Try > pakdam
- Catch > pakdai
- Finally > yeToHoga
- Throw > panchait
- Throws > zadaPanchait
- Int > digitDidi
- Float > pointyDidi
- Boolean > hanKNa
- Void > khali
- Char > alphaDidi
- String > betaDidi
- true > han
- false > na
- Static > chillKro