package com.fuck; public class EvenOrOddWithTwoThreads { public static void main(String[] args) { SharedPrinter sp= new SharedPrint...
Java Interview Questions
1. Why do you want to change the current company? 2. What is the serialization ? why you want to use? 3. What is the super class for al...
Liferay Interview Questions
1.what is the purpose of remote-service=true 2.what is the difference between List and Set 3.what is the difference between TreeSet...
working with childs in Liferay velocity.
If there is a structure like below: Tab_text Link_to_Page2908 Link_text In this scenario we will write the template code as be...
Hibernate 4 annotation Example
1.Employee.java file: package com.vy.Employees; import javax.annotation.Generated; import javax.persistence.Column; import javax.persiste...
Custom Exception Example in Java
import java.util.Scanner; class MarriageAgeException extends Exception { public MarriageAgeException(String message) { super(message); ...
Configuring gmail in Liferay 6.2 using Control Panel
1. Sign in to Liferay Portal as admin user. 2. Configure using Control Panel > Server Administration > Mail 3. Navigate to "...