Category: Java

25
May
2016

Advanced string manipulation

Actually we use this method to split string from a big sentence using regex. https://howtoprogramwithjava.com/string-manipulation/

15
May
2016

Java OOP Examples

https://www.ntu.edu.sg/home/ehchua/programming/java/J3a_OOPBasics.html

12
May
2016

Triangular Number Java Code True or False

Here yo can see what is triangular number: https://en.wikipedia.org/wiki/Triangular_number public class NumShape { public static void main(String[]…

19
Jan
2016

Java Tut – Packages

Packages are used in Java in order to prevent naming conflicts,to control access, to make seraching/locating and…

19
Jan
2016

Java Tut – Interface

Interface is a collection of abstract methods.A class implements an interface, thereby inheriting the abstract method of…

19
Jan
2016

Java Tut – Aggregation/HAS-A relationship

code: class Operation{ int square(int n){ return n*n; } } class Circle{ Operation op;//aggregation double pi=3.14; double…