Aatul Palandurkar

Posts Tagged ‘AnCyber


  • How should a trainer handle rude participants in a training workshop?
  • Do’s and Don’ts for Trainer

The ability to handle rude participants is critical to success as a trainer as each trainer has at one or the other time encountered rude participants. The participants who continue talking, who work on their laptops while you are training, who continuously attend calls on their mobiles, who flat out say you are wrong or you have no clue what it is to be in their shoes, participants who recline on their chairs as if they are in a lounge, who ask irrelevant questions…. the list is endless.

So, what can you do to prevent rude participants from derailing or hijacking a training workshop?

1. Do some pre-work to ensure a great learning environment: Many things impact a participant even before they meet you: how was the training need communicated to them? Do they think they NEED training? etc. Many times these are out of our control but I like to request clients to copy me on emails they send to the participants.

2. Invest some time in the beginning of the session establishing your credibility and getting them to articulate why they should invest their time learning what you are going to cover.

3. Set the training norms collaboratively upfront: your expectations from them, their expectations from you should be on the table and any misalignment needs to be handled. Here come issues like late to class, talking instead of doing assignments etc. Discuss course of action if someone oversteps the boundaries that you all have collaboratively set. Agree on how you will handle disagreements if any i.e. agree on how to disagree.

So, basically we attempt to pre-empt rudeness.

If after all of this, someone is rude, then we can take recourse to some of the following strategies:

1. Isolate what form the rudeness is taking: talking amongst themselves, asking irrelevant questions, negative body language, refusal to engage in any of the activities etc.

2. If the rude participants are in a group, split up the group by doing an activity in which you shift people around in the room. My favourite is to use numbers to divide people into groups as it ensures people who are sitting together are not in the same group.

3. Move the rude participants to the front of the room. Basically near you. Now shower them with your keen attention.

4. Redirect their attention by making them participate in the training activities. Use persuasion.

5. For one off comments, say “interesting point of view, lets discuss in the tea break”, and move on without getting affected.

6. If they are asking questions or expressing views, give the participant a patient hearing and try to see it from their perspective. Let them fully express themselves, then if the question is pertinent to the topic answer it. You can also ask for their permission to park the question and answer it later. If they feel heard they will allow that.

7. Be assertive. Tell them that while you appreciate their views, you have differing views. You could also say that since their concern is not the concern of the majority you will handle it post the session.

8. If time is not permitting then tell them you will discuss it with them in the break. Then do not forget to do so.

9. Do not let it get personal. It should not be your view vs. theirs. Ask other participants for their take on the issue / question. Then wrap up with summarizing the views.

10. Humour if used appropriately, can work wonders.

Starting a series of some Java programs as many students were asking to share the programs. Here is the first program of the series.


  • Write a Program that calculates and prints the simple interest using the formula : Simple Interest = PTR/100
  • How to calculate Simple Interest in Java?
  • Write a program to calculate Simple Interest in Java.
  • Write a Java program that calculates and prints the simple interest using the formula : “SimpleInterest = PTR/100” and input values P, T, R should be accepted as command line.
  • How to use Command Line Arguments in Java?
  • How to pass values from command line in Java?
  • How to take input in Java from console?


This particular program can be written in various ways, we will try to write the solution program in different ways here and one can try to understand the difference between them.

Method 1 :

import java.util.Scanner;

public class SimpleInterestExample {

    public static void main(String[] args) {

        int p,t,r, result;

        Scanner sc = new Scanner(System.in);

        System.out.println("Enter the Value of P : ");
        p = sc.nextInt();

        System.out.println("Enter the Value of T : ");
        t = sc.nextInt();

        System.out.println("Enter the Value of R : ");
        r = sc.nextInt();

        result = (p*t*r)/100;
        System.out.println("Interest is : " + result);

This one is the simplest way to write the program to find simple interest in Java. Here we have simply created the object of Scanner class for taking input. Scanner class was introduced in Java 6. To use Scanner class we will have to import the class from java.util package.

Method 2:

Now we will write a Java program that calculates and prints the simple interest using the Scanner class again but with object oriented programming approach.

import java.util.Scanner;

public class SimpleInterestExample
		double principalAmount = 0;
        double interestRate = 0;
        double term = 0;
		double simpleInterest = 0; 

    public void calculateSimpleInterest()
		Scanner input = new Scanner(System.in);

		System.out.print("Enter the Principal amount : ");
		principalAmount = input.nextDouble();

		System.out.print("Enter the Rate As a decimal : ");
		interestRate = input.nextDouble();

		System.out.print("Enter the amount of time in years : ");
		term = input.nextDouble();

		simpleInterest = (principalAmount * interestRate * term) / 100;

    public void displaySimpleInterest()
		System.out.println("The Simple Interest is : " + simpleInterest);

Mock Test Program for above code so that we can test the code. keep both the classes in same package and run the Mock Test Program or MockTestProgram.java

public class MockTestProgram{

    public static void main(String[]args);
		SimpleInterestExample simpleInt = new SimpleInterestExample();

Method 3:

Now we will write a Java program that calculates and prints the simple interest using the formula : “SimpleInterest = PTR/100” and input values P, T, R should be accepted as command line.

import java.util.Scanner;

public class SimpleInterestExample {

    public static void main(String[] args) {
		double p,t,r, result;

		p = Double.parseDouble(args[0]);
		t = Double.parseDouble(args[1]);
		r = Double.parseDouble(args[2]);

		Scanner sc = new Scanner(System.in);

		System.out.println("Enter the Value of P : ");
		p = sc.nextDouble();

		System.out.println("Enter the Value of T : ");
		t = sc.nextDouble();

		System.out.println("Enter the Value of R : ");
		r = sc.nextDouble();

		result = (p*t*r)/100;
		System.out.println("Interest is : " + result);


I will be sharing more programs soon as many students were asking for programs which were carried out during Java training and were asked in assignments after Java training. By the time enjoy coding in Java and use NetBeans, it will ease your life.

Hello everyone,

Jiri Kovalsky, Manager, NetCAT has announced NetCAT 8.1 and I have already registered for the same. And looking forward to have more people from all over the world and specially India for NetCAT 8.1.


You just need to invest few hours per week from mid July 2015 through mid October 2015. And you have to play a little with upcoming version of NetBeans, hunt for bugs and help community to release new and stable version of NetBeans. Make many new friends here and learn a lot from them. Get a chance to work with people having extreme experience and with very high profile in IT. You will never get such a chance with any other company or technology. The main thing you can mention that you have worked with NetBeans for that particular period as a Community Contributor.

Show your love towards NetBeans and technologies that NetBeans supports and earn lots of goodies depending on points you have earned for your work after completion of the program. If you wish you can select specific tribe and you can work with tribe on specific technology.

So what are you waiting for?  Visit http://wiki.netbeans.org/NetCAT and fill registration form, and hit Subscribe button after registration or send a mail to sympa@netbeans.org with subject line as “subscribe netcat” without quotes.



Conducted 3 days Live and Online Android Training at Oracle Mumbai from Oracle Park, Pune dated 15th Dec. 2014 to 17th Dec. 2014. It was a great experience to conduct training for the giant like Oracle. It is always pleasure and fun working with Oracle people. After the completion of the training received great feedback from all the attendees, glad to see that people out there liked training methodology. I always love to share the knowledge and experiences with the people.

Android is the most popular mobile operating system and booming day by day. Everyday huge number of Android mobile devices are getting activated and people are looking for different application to ease their life and to do some day to day task on the go. Many important things can also be done with mobile device like paying bills, money transfer and so on.

Many people who do not have time to go and attend classes due to college, work or some other reason can attend Online Android Training seating at their own place and as per their convenience.

Recording of actual Online Android Training :

The video is recorded during the actual Online Android Training Session 1. If you are looking for Online Android Training, please go through it and let us know if you are interested in the same and feel free to contact me at aatul@ancyber.com

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 13,238 other followers




%d bloggers like this: