From 35a316d9bc7b3aba3595953610c0b05a24358880 Mon Sep 17 00:00:00 2001 From: dikshaguptarg43 <116100314+dikshaguptarg43@users.noreply.github.com> Date: Tue, 18 Oct 2022 21:33:18 +0530 Subject: [PATCH] Create code3423 --- code3423 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 code3423 diff --git a/code3423 b/code3423 new file mode 100644 index 0000000..821070f --- /dev/null +++ b/code3423 @@ -0,0 +1,15 @@ +class Main { + public static void main(String[] args) { + + // declare a variable + char c = 'a'; + + // checks if c is an alphabet + if (Character.isAlphabetic(c)) { + System.out.println(c + " is an alphabet."); + } + else { + System.out.println(c + " is not an alphabet."); + } + } +}